import Vue from "vue";
import App from "./App.vue";

Vue.config.productionTip = false;
import "bootstrap/dist/css/bootstrap.min.css";
import axios from "axios";

Vue.prototype.$axios = axios;
axios.defaults.baseURL = "https://www.escook.cn";
import "./assets/fonts/iconfont.css";
Vue.directive('focus', {
  // 当被绑定的元素插入到 DOM 中时……
  inserted: function (el) {
    // 聚焦元素
    el.focus()
  }
})
new Vue({
  render: h => h(App)
}).$mount("#app");
